import { sleep } from 'antd-mobile/es/utils/sleep';

let count = 0;

export async function mockRequest() {
  if (count >= 5) {
    return [];
  }
  await sleep(2000);
  count++;
  return [
    {
      id: '5',
      pic: '/莫林影像.jpg',
      name: '莫林影像',
    },
  ];
}
